package net.hust.bean;

import java.util.Date;

/**
 * PlayItem entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PlayItem implements java.io.Serializable {

	// Fields

	private Integer playId;
	private Song song;
	private Date time;

	// Constructors

	/** default constructor */
	public PlayItem() {
	}

	/** full constructor */
	public PlayItem(Integer playId, Song song, Date time) {
		this.playId = playId;
		this.song = song;
		this.time = time;
	}

	// Property accessors

	public Integer getPlayId() {
		return this.playId;
	}

	public void setPlayId(Integer playId) {
		this.playId = playId;
	}

	public Song getSong() {
		return this.song;
	}

	public void setSong(Song song) {
		this.song = song;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}